package com.lmx.persistence.service;

import java.util.List;

import org.springframework.stereotype.Service;

import com.lmx.persistence.service.common.BaseCrudServiceImpl;
import com.lmx.repoDomain.tmodel.ServiceFinishLevel;

/**
 * 服务项目完成等级表service实现
 *
 * @author ytche
 * @date 2017年7月14日
 *
 */
@Service(value = "serviceFinishLevelService")
public class ServiceFinishLevelServiceImpl extends
		BaseCrudServiceImpl<ServiceFinishLevel> implements
		ServiceFinishLevelService {

	@Override
	public List<ServiceFinishLevel> findDefaultLevel() {
		String queryStr = " from ServiceFinishLevel where delStatus=0 and remark like '%default%' ";
		return super.em.createQuery(queryStr).getResultList();
	}

}
